package com.css.bjdt_core.reportExamine.service;

import java.util.Map;

import org.nutz.dao.Condition;
import org.nutz.dao.Dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.css.bjdt_core.reportExamine.entity.RptStatusInfo;
import com.css.bjdt_core.util.PageQuerys;

@Service
public class RptStatusInfoService {

	@Autowired
	private Dao dao;

	/**
	 * 按照单位ID查询报表上报数据的各种状态（校核状态、审核状态等）分页数据
	 * @param cdn
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public Map queryByUnitIdInPage(Condition cdn, int pageNum, int pageSize) {
		return PageQuerys.ligerGridQuery(dao, RptStatusInfo.class, cdn, pageNum, pageSize);
	}
}
